//审核通过接口
const accept= (params) => {
    return $axios({
        url: '/candidates/accept',
        method: 'post',
        data: { ...params }
    })
}

//得到对应学生的个人信息
const getStudent= (params) => {
    return $axios({
        url: '/student/getStudent',
        method: 'post',
        data: { ...params }
    })
}

// 查询列表接口
const list = (params) => {
    return $axios({
        url: '/candidates/list',
        method: 'post',
        data: { ...params }
    })
}

// 查询信息接口
const queryResume = (params) => {
    return $axios({
        url: `/candidates`,
        method: 'post',
        data: { ...params }
    })
}

//拒绝并删除接口
const deleteRecruit = (params) => {
    return $axios({
        url: '/candidates',
        method: 'delete',
        data: { ...params }
    })
}